import pandas as pd
from sklearn.metrics import mutual_info_score
import matplotlib.pyplot as plt
import seaborn as sns
plt.rcParams['font.sans-serif'] = ['SimHei']

target = pd.read_csv('./target.csv').iloc[:,1:]
Xdata = pd.read_csv('./data_jsee_1.csv').iloc[:,2:]
df = pd.concat([Xdata,target],axis=1)

plt.figure(figsize=(16,16),dpi=300)
sns.heatmap(df.corr(),annot=True)
plt.show()
# mi = mutual_info_score(labels_true=Xdata,labels_pred=target)
# print(mi)
